<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>HalalMenu - BackOffice</title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php use_stylesheet('admin.css') ?>
    <?php include_javascripts() ?>
    <?php include_stylesheets() ?>
  </head>
  <body>
    <div id="container">
      <div id="header">
        <h1>
          <a href="<?php echo url_for('homepage') ?>">
            <img src="/images/halalmenulogoweb.png" alt="HalalMenu BackOffice" border="0"/>
          </a>
        </h1>
         
      </div>
         <?php if ($sf_user->isAuthenticated()): ?>
        <div>
             <ul style="float:right">
              <li style="list-style-type: none">  Bonjour,&nbsp;<?php echo $sf_user->getUsername(); ?>         </li>
              <li style="list-style-type: none;text-align: right"> <?php echo link_to('Déconnecter', 'sf_guard_signout')?> </li>
            </ul>
        </div>
         <?php endif ?>
  <?php if ($sf_user->isAuthenticated()): ?>
      <div id="menu">
        <ul>
           <li>
            <?php echo link_to('Restaurant', 'halalmenu_restaurant') ?>
          </li>
           <li>
            <?php echo link_to('Plats', 'halalmenu_meal') ?>
          </li>  
          <li>
            <?php echo link_to('Menu', 'halalmenu_menu') ?>
          </li>
          <li>
            <?php echo link_to('Création Menu avec plats', 'halalmenu_menu_meal') ?>
          </li>
		  <li>
            <?php echo link_to('Cuisine Restaurant', 'halalmenu_restaurant_cuisine') ?>
          </li>
        </ul>
      </div>
     <?php endif ?>
      <div id="content">
        <?php echo $sf_content ?>
      </div>
 
      <div id="footer">
        www.halalmenu.fr
      </div>
    </div>
  </body>
</html>
